package com.bflow.dao.po;


import com.bflow.api.bo.BflowRunInstanceBo;
import com.bflow.commons.po.BasePo;

import java.io.Serializable;

/**
 * 功能：BflowRunTask 任务-PO(persistant object) 持久对象
 * 作者：haowen
 * 日期：2018-12-13
 */
public class BflowRunTaskPo extends BasePo implements Serializable {

	private static final long serialVersionUID = -6041760450874905173L;
	
    /**
     * 数据库字段：ID_ ID
	 */
	private String id;
	/**
	 * 数据库字段：PROC_ID
	 */
	private String procId;
    /**
     * 数据库字段：INSTANCE_ID 流程实例ID
	 */
	private String instanceId;
    /**
     * 数据库字段：ACT_ID 活动ID
	 */
	private String actId;
    /**
     * 数据库字段：USER_KEY 代办者标识
	 */
	private String userKey;
    /**
     * 数据库字段：USER_NAME 代办者名称
	 */
	private String userName;
    /**
     * 数据库字段：SECOND_USER_ID 委托人(二次代办人)
	 */
	private String secondUserId;
    /**
     * 数据库字段：SECOND_USER_NAME 委托人名称(二次代办人)
	 */
	private String secondUserName;
    /**
     * 数据库字段：STATUS 状态：0-待处理；1-已处理；
	 */
	private String status;
    /**
     * 数据库字段：CREATE_UID 创建者ID
	 */
	private String createUid;
    /**
     * 数据库字段：CREATE_UNAME 创建者姓名
	 */
	private String createUname;
    /**
     * 数据库字段：CREATE_TIME 创建时间
	 */
	private java.util.Date createTime;
    /**
     * 数据库字段：FINISH_TIME 完成时间
	 */
	private java.util.Date finishTime;
    /**
     * 数据库字段：DEL_FLAG 删除标记：0-已删除；1-有效；
	 */
	private String delFlag;

	/** 版本号 */
	private Integer version;

	/**
	 * 实例信息
	 */
	private BflowRunInstancePo instance;

	public BflowRunTaskPo(){
	}

	public BflowRunTaskPo( String id ){
		this.id = id;
	}

	public String getId() {
		return this.id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getProcId() {
		return this.procId;
	}
	public void setProcId(String procId) {
		this.procId = procId;
	}

	public String getInstanceId() {
		return this.instanceId;
	}
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	public String getActId() {
		return this.actId;
	}
	public void setActId(String actId) {
		this.actId = actId;
	}

	public String getUserKey() {
		return this.userKey;
	}
	public void setUserKey(String userKey) {
		this.userKey = userKey;
	}

	public String getUserName() {
		return this.userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getSecondUserId() {
		return this.secondUserId;
	}
	public void setSecondUserId(String secondUserId) {
		this.secondUserId = secondUserId;
	}

	public String getSecondUserName() {
		return this.secondUserName;
	}
	public void setSecondUserName(String secondUserName) {
		this.secondUserName = secondUserName;
	}

	public String getStatus() {
		return this.status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreateUid() {
		return this.createUid;
	}
	public void setCreateUid(String createUid) {
		this.createUid = createUid;
	}

	public String getCreateUname() {
		return this.createUname;
	}
	public void setCreateUname(String createUname) {
		this.createUname = createUname;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getFinishTime() {
		return this.finishTime;
	}
	public void setFinishTime(java.util.Date finishTime) {
		this.finishTime = finishTime;
	}

	public String getDelFlag() {
		return this.delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getVersion() {
		return this.version;
	}
	public void setVersion(Integer version) {
		this.version = version;
	}

	public BflowRunInstancePo getInstance() {
		return instance;
	}

	public void setInstance(BflowRunInstancePo instance) {
		this.instance = instance;
	}
}

